{% extends 'inquire/base.html' %}

{% block title %}
    人员查询修改区
{% endblock %}

{% block startbody %}
    {#修改内容#}
    <div style="margin: 10px auto;width: 70%;">
        <form action="{% url 'asset_search:amend' uid=uid.id %}" method="post">
            <label for="aaa" class="sr-only">Email address</label>
            {% csrf_token %}
            <h3>修改内容：</h3>
            <table class="table table-striped table-bordered table-hover">
                <tr>
                    <th>物资&emsp;&emsp;</th>
                    <th>地址&emsp;</th>
                    <th>保管人&emsp;</th>
                    <th>数量&emsp;</th>
                    <th>单位&emsp;</th>
                </tr>
                <tr>
                    <td><input type="text" value="{{ uid.goods.name }}" name="goods" id="aaa"></td>
                    <td>
                        <input type="text" value="{{ uid.room.tower.name }}" name="lou" id="aaa">楼
                        <input type="text" value="{{ uid.room.floor.name }}" name="ceng" id="aaa">层
                        <input type="text" value="{{ uid.room.room }}" name="shi" id="aaa">室
                    </td>
                    <td style="width: 150px;">{{ uid.user.name }}</td>
                    <td><input type="text" value="{{ uid.number }}" name="number" id="aaa"></td>
                    <td><input type="text" value="{{ uid.unit }}" name="unit" id="aaa"></td>
                </tr>
                <tr>
                    <td><input type="submit" value="提交"></td>
                </tr>
            </table>
        </form>
    </div>
{% endblock %}



